package com.ymttest.common.entitie;

import java.math.BigDecimal;
import java.util.List;

import com.ymttest.utils.DataUtil;

/**
 * 
 * @author songyefeng
 * @date 2016-06-23
 */
public class SellerOrderInfoV3 {
	private String ApplyPostPayTime;
	private Boolean BuyerInBlacklist;
	private Integer BuyerUserId;
	private String BuyerUserLoginId;
	private BigDecimal CouponAmount;
	private String CouponCode;
	private String CreateOrderDate;
	private String DeliveryTime;
	private BigDecimal Discount = BigDecimal.ZERO;
	private BigDecimal ExpectedPayAmount;
	private BigDecimal ExpectedPostpayAmount;
	private BigDecimal ExpectedTotalPayAmount;
	private BigDecimal Freight;
	private BigDecimal GiftAmount  = BigDecimal.ZERO;
	private Boolean HaveUploadedIdCard;
	private String LeaveWord;
	private Boolean NeedUploadIdCard;
	private Boolean OnlyNeedPayOnce;
	private String OrderCancelledTime;
	private String OrderConfirmedTime;
	private Integer OrderGroupId;
	private Integer OrderId;
	private Integer OrderStatus;
	private BigDecimal OriginalPostpayAmount;
	private Boolean PaidInFull;
	private String PaidTime;
	private String PostpayTime;
	private List<com.ymatou.query.seller.trading.api.parameter.AppResponse.SellerOrderProductInfo> Products;
	private int RiskVerifiedStatus;
	private int SalesType;
	private BigDecimal SellerCouponAmount;
	private String SellerCouponCode;
	private String SellerNote;
	private BigDecimal TotalProductPrice = BigDecimal.ZERO;
	private Boolean IsNewCustomerOrder;
	private Boolean IsNewSellerOrder;
	private BigDecimal SellerPromotionAmount = BigDecimal.ZERO;
	private Integer CatalogStatus;

	public Boolean getIsNewCustomerOrder() {
		return IsNewCustomerOrder;
	}

	public void setIsNewCustomerOrder(Boolean isNewCustomerOrder) {
		IsNewCustomerOrder = isNewCustomerOrder;
	}

	public Boolean getIsNewSellerOrder() {
		return IsNewSellerOrder;
	}

	public void setIsNewSellerOrder(Boolean isNewSellerOrder) {
		IsNewSellerOrder = isNewSellerOrder;
	}

	public String getApplyPostPayTime() {
		return ApplyPostPayTime;
	}

	public void setApplyPostPayTime(String applyPostPayTime) {
		ApplyPostPayTime = applyPostPayTime;
	}

	public Boolean getBuyerInBlacklist() {
		return BuyerInBlacklist;
	}

	public void setBuyerInBlacklist(Boolean buyerInBlacklist) {
		BuyerInBlacklist = buyerInBlacklist;
	}

	public Integer getBuyerUserId() {
		return BuyerUserId;
	}

	public void setBuyerUserId(Integer buyerUserId) {
		BuyerUserId = buyerUserId;
	}

	public String getBuyerUserLoginId() {
		return BuyerUserLoginId;
	}

	public void setBuyerUserLoginId(String buyerUserLoginId) {
		BuyerUserLoginId = buyerUserLoginId;
	}

	public BigDecimal getCouponAmount() {
		return CouponAmount;
	}

	public void setCouponAmount(BigDecimal couponAmount) {
		CouponAmount = couponAmount;
	}

	public String getCouponCode() {
		return CouponCode;
	}

	public void setCouponCode(String couponCode) {
		CouponCode = couponCode;
	}

	public String getCreateOrderDate() {
		return CreateOrderDate;
	}

	public void setCreateOrderDate(String createOrderDate) {
		CreateOrderDate = createOrderDate;
	}

	public String getDeliveryTime() {
		return DeliveryTime;
	}

	public void setDeliveryTime(String deliveryTime) {
		DeliveryTime = deliveryTime;
	}

	public BigDecimal getDiscount() {
		return Discount;
	}

	public void setDiscount(BigDecimal discount) {
		Discount = DataUtil.BigDecimall.GetValueOrDefault(discount);
	}

	public BigDecimal getExpectedPayAmount() {
		return ExpectedPayAmount;
	}

	public void setExpectedPayAmount(BigDecimal expectedPayAmount) {
		ExpectedPayAmount = expectedPayAmount;
	}

	public BigDecimal getExpectedPostpayAmount() {
		return ExpectedPostpayAmount;
	}

	public void setExpectedPostpayAmount(BigDecimal expectedPostpayAmount) {
		ExpectedPostpayAmount = expectedPostpayAmount;
	}

	public BigDecimal getExpectedTotalPayAmount() {
		return ExpectedTotalPayAmount;
	}

	public void setExpectedTotalPayAmount(BigDecimal expectedTotalPayAmount) {
		ExpectedTotalPayAmount = expectedTotalPayAmount;
	}

	public BigDecimal getFreight() {
		return Freight;
	}

	public void setFreight(BigDecimal freight) {
		Freight = freight;
	}

	public BigDecimal getGiftAmount() {
		return GiftAmount;
	}

	public void setGiftAmount(BigDecimal giftAmount) {
		GiftAmount = DataUtil.BigDecimall.GetValueOrDefault(giftAmount);
	}

	public Boolean getHaveUploadedIdCard() {
		return HaveUploadedIdCard;
	}

	public void setHaveUploadedIdCard(Boolean haveUploadedIdCard) {
		HaveUploadedIdCard = haveUploadedIdCard;
	}

	public String getLeaveWord() {
		return LeaveWord;
	}

	public void setLeaveWord(String leaveWord) {
		LeaveWord = leaveWord;
	}

	public Boolean getNeedUploadIdCard() {
		return NeedUploadIdCard;
	}

	public void setNeedUploadIdCard(Boolean needUploadIdCard) {
		NeedUploadIdCard = needUploadIdCard;
	}

	public Boolean getOnlyNeedPayOnce() {
		return OnlyNeedPayOnce;
	}

	public void setOnlyNeedPayOnce(Boolean onlyNeedPayOnce) {
		OnlyNeedPayOnce = onlyNeedPayOnce;
	}

	public String getOrderCancelledTime() {
		return OrderCancelledTime;
	}

	public void setOrderCancelledTime(String orderCancelledTime) {
		OrderCancelledTime = orderCancelledTime;
	}

	public String getOrderConfirmedTime() {
		return OrderConfirmedTime;
	}

	public void setOrderConfirmedTime(String orderConfirmedTime) {
		OrderConfirmedTime = orderConfirmedTime;
	}

	public Integer getOrderGroupId() {
		return OrderGroupId;
	}

	public void setOrderGroupId(Integer orderGroupId) {
		OrderGroupId = orderGroupId;
	}

	public Integer getOrderId() {
		return OrderId;
	}

	public void setOrderId(Integer orderId) {
		OrderId = orderId;
	}

	public Integer getOrderStatus() {
		return OrderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		OrderStatus = orderStatus;
	}

	public BigDecimal getOriginalPostpayAmount() {
		return OriginalPostpayAmount;
	}

	public void setOriginalPostpayAmount(BigDecimal originalPostpayAmount) {
		OriginalPostpayAmount = originalPostpayAmount;
	}

	public Boolean isPaidInFull() {
		return PaidInFull;
	}

	public void setPaidInFull(Boolean paidInFull) {
		PaidInFull = paidInFull;
	}

	public String getPaidTime() {
		return PaidTime;
	}

	public void setPaidTime(String paidTime) {
		PaidTime = paidTime;
	}

	public String getPostpayTime() {
		return PostpayTime;
	}

	public void setPostpayTime(String postpayTime) {
		PostpayTime = postpayTime;
	}

	public List<com.ymatou.query.seller.trading.api.parameter.AppResponse.SellerOrderProductInfo> getProducts() {
		return Products;
	}

	public void setProducts(
			List<com.ymatou.query.seller.trading.api.parameter.AppResponse.SellerOrderProductInfo> products) {
		Products = products;
	}

	public int getRiskVerifiedStatus() {
		return RiskVerifiedStatus;
	}

	public void setRiskVerifiedStatus(int riskVerifiedStatus) {
		RiskVerifiedStatus = riskVerifiedStatus;
	}

	public int getSalesType() {
		return SalesType;
	}

	public void setSalesType(int salesType) {
		SalesType = salesType;
	}

	public BigDecimal getSellerCouponAmount() {
		return SellerCouponAmount;
	}

	public void setSellerCouponAmount(BigDecimal sellerCouponAmount) {
		SellerCouponAmount = sellerCouponAmount;
	}

	public String getSellerCouponCode() {
		return SellerCouponCode;
	}

	public void setSellerCouponCode(String sellerCouponCode) {
		SellerCouponCode = sellerCouponCode;
	}

	public String getSellerNote() {
		return SellerNote;
	}

	public void setSellerNote(String sellerNote) {
		SellerNote = sellerNote;
	}

	public BigDecimal getTotalProductPrice() {
		return TotalProductPrice;
	}

	public void setTotalProductPrice(BigDecimal totalProductPrice) {
		TotalProductPrice = DataUtil.BigDecimall.GetValueOrDefault(totalProductPrice);
	}

	public BigDecimal getSellerPromotionAmount() {
		return SellerPromotionAmount;
	}

	public void setSellerPromotionAmount(BigDecimal sellerPromotionAmount) {
		SellerPromotionAmount = DataUtil.BigDecimall.GetValueOrDefault(sellerPromotionAmount);
	}

	public Integer getCatalogStatus() {
		return CatalogStatus;
	}

	public void setCatalogStatus(Integer catalogStatus) {
		CatalogStatus = catalogStatus;
	}
	
	public String toString(){
//		return String.valueOf(OrderId);
		return net.sf.json.JSONObject.fromObject(this).toString();
	}

}
